qwer=[]
import random
for index in range(random.randint(1,100)):
    qwer.insert(index,random.randint(1,100))
print(qwer)
leng=len(qwer)

temp=0
index=0
while index<leng:
    if(qwer[index]>temp):
        temp=qwer[index]
    index=index+1

print(temp)

index=0
temp2=100
while index<leng:
    if qwer[index]<temp2:
        temp2=qwer[index]
    index=index+1
print(temp2)

asdf=[]
leng1=len(asdf)
int=0
index=0
min=100
while index<leng:
    while qwer[index]>0:
        if min>qwer[index]:
            min = qwer[index]
            asdf.insert(0, min)
        for min in range(asdf):
            index=index+1
print(asdf)